package com.xbongbong.pro.detailtab.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @author haibin.zhang
 * @version v1.0
 * @date 2019/3/13 17:01
 * @since v1.0
 */
@Getter
@Setter
public class StageWorkFinishDTO extends BaseDTO {
    /**
     * 数据id
     */
    @NotNull(message = "{dto.msg.stageWorkFinish.dataId.NotNull}")
    private Long dataId;
    /**
     * 阶段code
     */
    @NotNull(message = "{dto.msg.stageWorkFinish.stageCode.NotNull}")
    private String stageCode;
    /**
     * 工作id
     */
    @NotNull(message = "{dto.msg.stageWorkFinish.workId.NotNull}")
    private Long workId;
    /**
     * 是否完成
     */
//    @Range(min = 0,max = 1,message = "完成参数错误")
    private Boolean isFinished;
    /**
     * 业务类型
     */
    private Integer businessType;
}
